package com.winkparadise.uml.classe.ui;

import java.util.Map;

import android.graphics.Canvas;
import android.test.suitebuilder.annotation.LargeTest;

import com.winkparadise.uml.classe.elt.Classe;
import com.winkparadise.uml.classe.elt.Point;
import com.winkparadise.uml.classe.inter.Associable;
import com.winkparadise.uml.classe.inter.Deplaceable;
import com.winkparadise.uml.classe.inter.Redimensionnable;

public class Classe_Ui extends Classe implements Associable, Deplaceable, Redimensionnable{
	private int x,y;
	private boolean select;
	private Map<Point, Point> connecteurs;
	private int hTitre, hAttribut, hOperation, largeur;
	
	public Classe_Ui(int x, int y) {
		super();
		this.x = x;
		this.y = y;
	}

	@Override
	public boolean isSelect() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void setSelect(boolean select) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void copier() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void coller(int x, int y) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void couper() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void dessinner(Canvas c) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public boolean estContenu() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void setLargeur(int new_larg) {
		this.largeur=new_larg;
	}

	@Override
	public void setHauteur(int new_haut) {
		this.hAttribut+=new_haut/2;
		this.hOperation+=new_haut-(new_haut/2);
		
	}

	@Override
	public void setX(int x) {
		this.x=x;
		
	}

	@Override
	public void setY(int y) {
		this.y=y;
		
	}

	@Override
	public int getLargeur() {
		return largeur;
	}

	@Override
	public int getHauteur() {
		return hTitre+hAttribut+hOperation;
	}

	@Override
	public int getX() {
		return x;
	}

	@Override
	public int getY() {
		return y;
	}

	@Override
	public Map<Point, Point> getConnecteurs() {
		// TODO Auto-generated method stub
		return null;
	}
	
	
}
